package collector;

public class CollectorFactory {
	private static Collector collector;
	static{
		collector=new NetCollector();
	}
	public static  Collector getInstance(){
		return collector;
	}
	
	public   Collector getInstance1(){
		return new NetCollector();
	}
	
}
